package gowcage.test1;

import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log;

import com.gowcage.testandroid.R;

/**
 * Created by Administrator on 2017/11/14.
 */

public class TestActivity extends Activity {

    String TAG = "TestActivity-->";

    long s;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test1);
        s = System.currentTimeMillis();
        test();
        Log.v(TAG, "use time:" + (System.currentTimeMillis() - s));
    }

    private void test() {
        int a = 1920*1080;
        int frame = a*3/2;
        byte[] data = new byte[frame];

    }
}
